//实例接口
interface ClockInterface{
    currentTime:Date
    setTimeout(d:Date)
}
//构造器接口
interface ClockConstructor{
    new (hour:number,minute:number)
}
class Clock implements ClockInterface{
    currentTime:Date
    constructor(h:number,m:number){

    }
    setTime(d:Date){
        this.currentTime=d
    }
}